$def with (privData)

<!DOCTYPE html>
<html>

$:privData['render'].header(privData)

<body>

<div data-role="page"  id="news" data-prev="/" data-next="/gallery/">
    $:privData['render'].pageheader(privData)<!-- /header -->

    <div data-role="content">   
        <div class="content-primary">   
        <ul data-role="listview" data-split-icon="gear" data-split-theme="d">
            <li><a href="index.html">
                <img src="$:privData['SITE_URL']/static/images/album-bb.jpg" />
                <h3>Broken Bells</h3>
                <p>Broken Bells</p>
                </a>
            </li>
            $for i in privData['newsList']:
            <li>
                <h2><a href="$makeUrl('/news/show',{'id':i['id']})">$:i['name']</a></h2>
                <p>$subStr(i['content'],1,100)</p>
                </a>
            </li>
        </ul>
        </div>
    </div>
    $:privData['render'].pagefooter(privData)
</div> 

</body>
</html>

